package com.ruoyi.net.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 业务-mtnGroup配置对象 busi_mtn_group
 * 
 * @author net
 * @date 2024-12-07
 */
public class BusiMtnGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 业务名称 */
    @Excel(name = "业务名称")
    @ApiModelProperty(value = "业务名称")
    private String busiName;

    /** 工作模式 */
    @Excel(name = "工作模式")
    @ApiModelProperty(value = "工作模式")
    private String workMode;

    /** 降速保护使能 */
    @Excel(name = "降速保护使能")
    @ApiModelProperty(value = "降速保护使能")
    private String reduceSpeedEnable;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 源网元
宿网元 */
    @Excel(name = "宿网元")
    @ApiModelProperty(value = "宿网元")
    private String endElement;

    /** 源网元GroupIndex */
    @Excel(name = "源网元GroupIndex")
    @ApiModelProperty(value = "源网元GroupIndex")
    private String startElementGroupIndex;

    /** 宿网元GroupIndex */
    @Excel(name = "宿网元GroupIndex")
    @ApiModelProperty(value = "宿网元GroupIndex")
    private String endElementGroupIndex;

    /** GroupNum */
    @Excel(name = "Group数量")
    @ApiModelProperty(value = "Group数量")
    private String groupNum;

    /** 时隙粒度 */
    @Excel(name = "时隙粒度")
    @ApiModelProperty(value = "时隙粒度")
    private String faultSize;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /** 时隙粒度
时隙协商超时时间(s) */
    @Excel(name = "时隙协商超时时间(s)")
    @ApiModelProperty(value = "时隙协商超时时间(s)")
    private String overTime;

    /** 服务级别 */
    @Excel(name = "服务级别")
    @ApiModelProperty(value = "服务级别")
    private String serviceLevel;

    /** 激活用户 */
    @Excel(name = "激活用户")
    @ApiModelProperty(value = "激活用户")
    private String activateUser;

    /** 激活时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "激活时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "激活时间")
    private Date activateTime;

    /** 告警状态 */
    @Excel(name = "告警状态")
    @ApiModelProperty(value = "告警状态")
    private String warnStatus;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBusiName(String busiName) 
    {
        this.busiName = busiName;
    }

    public String getBusiName() 
    {
        return busiName;
    }
    public void setWorkMode(String workMode) 
    {
        this.workMode = workMode;
    }

    public String getWorkMode() 
    {
        return workMode;
    }
    public void setReduceSpeedEnable(String reduceSpeedEnable) 
    {
        this.reduceSpeedEnable = reduceSpeedEnable;
    }

    public String getReduceSpeedEnable() 
    {
        return reduceSpeedEnable;
    }
    public void setStartElement(String startElement) 
    {
        this.startElement = startElement;
    }

    public String getStartElement() 
    {
        return startElement;
    }
    public void setEndElement(String endElement) 
    {
        this.endElement = endElement;
    }

    public String getEndElement() 
    {
        return endElement;
    }
    public void setStartElementGroupIndex(String startElementGroupIndex) 
    {
        this.startElementGroupIndex = startElementGroupIndex;
    }

    public String getStartElementGroupIndex() 
    {
        return startElementGroupIndex;
    }
    public void setEndElementGroupIndex(String endElementGroupIndex) 
    {
        this.endElementGroupIndex = endElementGroupIndex;
    }

    public String getEndElementGroupIndex() 
    {
        return endElementGroupIndex;
    }
    public void setGroupNum(String groupNum) 
    {
        this.groupNum = groupNum;
    }

    public String getGroupNum() 
    {
        return groupNum;
    }
    public void setFaultSize(String faultSize) 
    {
        this.faultSize = faultSize;
    }

    public String getFaultSize() 
    {
        return faultSize;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setOverTime(String overTime) 
    {
        this.overTime = overTime;
    }

    public String getOverTime() 
    {
        return overTime;
    }
    public void setServiceLevel(String serviceLevel) 
    {
        this.serviceLevel = serviceLevel;
    }

    public String getServiceLevel() 
    {
        return serviceLevel;
    }
    public void setActivateUser(String activateUser) 
    {
        this.activateUser = activateUser;
    }

    public String getActivateUser() 
    {
        return activateUser;
    }

    public Date getActivateTime() {
        return activateTime;
    }

    public void setActivateTime(Date activateTime) {
        this.activateTime = activateTime;
    }

    public void setWarnStatus(String warnStatus)
    {
        this.warnStatus = warnStatus;
    }

    public String getWarnStatus() 
    {
        return warnStatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("busiName", getBusiName())
            .append("workMode", getWorkMode())
            .append("reduceSpeedEnable", getReduceSpeedEnable())
            .append("startElement", getStartElement())
            .append("endElement", getEndElement())
            .append("startElementGroupIndex", getStartElementGroupIndex())
            .append("endElementGroupIndex", getEndElementGroupIndex())
            .append("groupNum", getGroupNum())
            .append("faultSize", getFaultSize())
            .append("customerName", getCustomerName())
            .append("overTime", getOverTime())
            .append("serviceLevel", getServiceLevel())
            .append("activateUser", getActivateUser())
            .append("activateTime", getActivateTime())
            .append("warnStatus", getWarnStatus())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
